﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using FastData;
namespace WindowsFormsApp1
{
    public partial class SettingForm : Form
    {
        public SettingForm()
        {
            InitializeComponent();

        }

        private void button1_Click(object sender, EventArgs e)
        {
            GlobalValues.DeviceNo.Value = textBox1.Text;
        }

        private void Form2_Load(object sender, EventArgs e)
        {
            VarSave<string> DeviceNo = new VarSave<string>("DeviceNo");
            textBox1.Text = DeviceNo.Value;
        }
    }
}
